package atshnu.pojo;

/**
 * @ 创建人 罗倩倩
 * @ 创建时间 2021/12/2
 * @ 修改人和其它信息
 * @ 数据库的javaBean部分
 */
public class User {
    private Integer UserNo;
    private Integer UserGrade;
    private String UserName;
    private String UserSex;
    private String UserMajor;
    private String UserPassword;

    public Integer getUserNo() {
        return UserNo;
    }

    public void setUserNo(Integer userNo) {
        UserNo = userNo;
    }

    public Integer getUserGrade() {
        return UserGrade;
    }

    public void setUserGrade(Integer userGrade) {
        UserGrade = userGrade;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getUserSex() {
        return UserSex;
    }

    public void setUserSex(String userSex) {
        UserSex = userSex;
    }

    public String getUserMajor() {
        return UserMajor;
    }

    public void setUserMajor(String userMajor) {
        UserMajor = userMajor;
    }

    public String getUserPassword() {
        return UserPassword;
    }

    public void setUserPassword(String userPassword) {
        UserPassword = userPassword;
    }

    @Override
    public String toString() {
        return "User{" +
                "UserNo=" + UserNo +
                ", UserGrade=" + UserGrade +
                ", UserName='" + UserName + '\'' +
                ", UserSex='" + UserSex + '\'' +
                ", UserMajor='" + UserMajor + '\'' +
                ", UserPassword='" + UserPassword + '\'' +
                '}';
    }

    public User(Integer userNo, Integer userGrade, String userName, String userSex, String userMajor, String userPassword) {
        UserNo = userNo;
        UserGrade = userGrade;
        UserName = userName;
        UserSex = userSex;
        UserMajor = userMajor;
        UserPassword = userPassword;
    }

    public User() {
    }
}
